import request from "../utils/request";



export function getOptionList(){
    return request.get('/position/list');
}

export function addOption(params){
    return request.post('/position/addOption',params);
}

export function deleteOptionById(id){
    return request.delete(`/position/deleteOptionById/${id}`)
}

export function updateOption(data){
    return request.put(`/position/updateOption`,data);
}